
{$header}<div id="main" class="main" >
<div class="content">
	<table cellpadding="10px">
		<tr>
			<td valign="top" width="80px" nowrap>
<h3 class="heading">网站栏目</div>
<import file="Js.xtree.xtree" />
<import type="css" file="Js.xtree.xtree" />
<form class="form-horizontal well" id="cateform" action="__URL__/cateedit">
	<input type="hidden" name="ajax" value="1" />
<div id="treemenu">
<script language="javascript">
{$genJs}
</script>
</div>
</form>
<div id="treedata">
{$genForm}
</div>
			</td>
			<td valign="top">
<script type="text/javascript" charset="utf-8" src="__PUBLIC__/Js/editor/kindeditor.js"></script>
<script type="text/javascript">
    KE.show({
        id : 'content_1' //TEXTAREA输入框的ID
   });
   function chooseNode(tid,id) {
	   $('cid-hidden').value = id;
	   $('catename').innerHTML = $('xtree-'+tid+'-anchor').innerHTML;
   }
</script>
<form class="form-horizontal well" method='post' id="form1" name="form1" action="__URL__/update"  enctype="multipart/form-data">
<h3 class="heading">编辑数据 [  <input type="submit" value="更  新" class="small submit"> <a href="javascript:history.back()">返回列表</a> ]</h3>
<div class="fRig"><neq name="vo.image" value=''><img src="__PUBLIC__/Uploads/{$vo.image}"  width="160" height="120" style="border:1px solid silver;padding:1px" /></neq></div>
<div id="result" class="result none"></div>
<input type="hidden" name="id" value="{$vo.id}" />
<input id="cid-hidden" type="hidden" name="cid" value="{$vo.cid}" />
<table cellpadding=3 cellspacing=3 >
<tr>
	<td class="tRight" width="10%">栏目选择</td>
	<td class="tLeft"><div id="catename">{$vo.cid|getModelName=Formcate}</div><div>直接点击左边导航栏中的栏目进行更改</td>
</tr>
<tr>
	<td class="tRight" width="10%">标题：</td>
	<td class="tLeft" ><input type="text" class="huge bLeftRequire" name="title" value="{$vo.title}"></td>
</tr>
<tr>
	<td class="tRight tTop">内容：</td>
	<td><textarea id="content_1" name="content" style="width:700px;height:300px;">{$vo.content}</textarea>
	</td>
</tr>

<tr>
	<td></td>
	<td class="center">
	<input type="hidden" class="huge bLeftRequire" name="id" value="{$vo.id}">
	<input type="submit" value="更 新" class="button medium">
        <input type="reset" class="reset imgButton" onclick="javascript:history.back()" value="返回" >
	</td>
</tr>
</table>
</form>
			</td>
		</tr>
	</table>
</div>
</div>